﻿#region License
// (c) Intergen.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextGlow.Control.Model
{
  public class Section : Content
  {
    private SectionProperties _properties;
    private List<DocumentContent> _content;

    public SectionProperties Properties
    {
      get { return _properties; }
      set { _properties = value; }
    }

    public List<DocumentContent> Content
    {
      get { return _content; }
      set { _content = value; }
    }

    public Section(Document parentContent, List<DocumentContent> content, SectionProperties properties)
      : base(parentContent)
    {
      _content = content;
      _properties = properties;
      _properties.Content = parentContent;
    }
  }
}
